all:lexical query
.PHONY:all
lexical:lexical.cpp
	g++ lexical.cpp -ggdb -I/usr/local/BerkeleyDB.5.0/include/ -L/usr/local/BerkeleyDB.5.0/lib/ -ldb -lpthread -o lexical
query:query.cpp
	g++ query.cpp -ggdb -I/usr/local/BerkeleyDB.5.0/include/ -L/usr/local/BerkeleyDB.5.0/lib/ -ldb -lpthread -o query

